package com.pmms.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 购物车细节
 * @TableName shopping_cart_detail
 */
@TableName(value ="shopping_cart_detail")
@Data
public class ShoppingCartDetail implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer shoppingCartDetailId;

    /**
     * 
     */
    private Integer shoppingCartId;

    /**
     * 
     */
    private String productId;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 子总价
     */
    private Integer subtotal;

    /**
     * 0为未选中，1为选中
     */
    private Integer checkbox;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}